package summer_vacation.lvchang.myyVacation;

/**
 * Created by Administrator on 2015/9/7.
 */
public class Text7 {
    public static void main(String[] args) {
        int sum=0,a=8;
        for(int i=1;i<11;i++){
            sum=sum+a;
            a=a*10+8;
        }
        System.out.println(sum);
    }
}
